export default {
  verifyPhone: (phone) => {
    if (!(/^1[34578]\d{9}$/.test(phone))) {
      return false;
    }
    return true
  },
  onlyContainNumber: (str) => {
    if (/^[0-9]{1,20}$/.test(str)) {
      return true
    }
    return false
  }
}